This resource address tests to see if the named label is in MarkLogic Server.
200 OK
is returned if the named label exists. Otherwise 404 Not
Found
is returned.
manage-user
role, or the following
privilege: http://marklogic.com/xdmp/privileges/manage
curl -i -X HEAD --digest -u admin:password \ http://localhost:8002/manage/v2/meters/labels/3108808182876923314 ==> Checks for the existance of the 3108808182876923314 label.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.